package com.guigusuqi.activiti.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author suqi
 * @since 2023-06-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TbEvection对象", description="")
public class TbEvection implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty("出差申请单名称")
    private String evectionName;

    @ApiModelProperty("出差天数")
    private Double num;

    @ApiModelProperty("目的地")
    private String destination;

    @ApiModelProperty("预计开始时间")
    private Date beginDate;

    @ApiModelProperty("预计结束时间")
    private Date endDate;

    @ApiModelProperty("出差事由")
    private String reason;

    @ApiModelProperty("0-初始录入   1-开始审批     2-审批完成")
    private Integer state;

    @ApiModelProperty("用户id")
    private String userId;
}
